
<ul class="maintabmenu multipletabmenu">     
    <li ><a href="<?php echo base_url();?>administrator/orders">Tất cả đơn hàng</a></li>
    <li class="current"><a href="<?php echo base_url();?>administrator/orders/add">Thêm mới đơn hàng</a></li>    
</ul>

    
<div class="content">                	
    <div class="edit-left">
        <form action="<?php echo base_url();?>administrator/orders/add" method="post" accept-charset="utf-8" id="formID" class="stdform">                    		
        <p><label>Mã đơn hàng:</label></p>
        <p><span class="field"><input name="name" value="" class="longinput validate[required]" type="text"></span></p>
        <br>
        <p><label>Nhà hàng:</label></p>
        <p><select name="restaurent_option">
                <option value="0">-- Chưa xác định --</option>
                <?php 
                    foreach ($list_restaurent as $res)
                    {
                ?>
                <option value="<?php echo $res->id;?>"><?php echo $this->common->get_lang($res->name);?></option>
                <?php }?>                    
            </select> &nbsp;
        </p>
        <br>  
        <p><label>Khách hàng:</label></p>
        <p><select name="customer_option">
                <option value="0">-- Chưa xác định --</option>
                <?php 
                    foreach ($list_customer as $customer)
                    {
                ?>
                <option value="<?php echo $customer->id;?>"><?php echo $customer->name;?></option>
                <?php }?>                    
            </select> &nbsp;
        </p>
        <br>  
        <p>Trạng thái:</p>
        <p>    
            <select name="status">
                <option value="active">Active</option>
                <option value="disable">Disable</option>
                <option value="pending">Pending</option>
            </select>                         
        </p>  
        <p><label>Phương thức giao hàng:</label></p>
        <p><span class="field"><input class="longinput" name="order_shipping" type="text"></span></p>
        <br>                                                     
          
        <p class="stdformbutton">
            <input name="submit" value="Thêm mới" class="submit radius2" type="submit">                                
            <input value="Hủy" class="reset radius2" type="reset">
        </p>                            
    </form>                                        
    </div>
 </div>       
 